package com.durian.finance.service;

import com.durian.financial.api.domain.JrFactoringDetail;

import java.util.List;

/**
 * 保理申请明细Service接口
 * 
 * @author durian
 * @date 2022-06-27
 */
public interface IJrFactoringDetailService 
{
    /**
     * 查询保理申请明细
     * 
     * @param id 保理申请明细主键
     * @return 保理申请明细
     */
    public JrFactoringDetail selectJrFactoringDetailById(Long id);

    /**
     * 查询保理申请明细列表
     * 
     * @param jrFactoringDetail 保理申请明细
     * @return 保理申请明细集合
     */
    public List<JrFactoringDetail> selectJrFactoringDetailList(JrFactoringDetail jrFactoringDetail);

    /**
     * 新增保理申请明细
     * 
     * @param jrFactoringDetail 保理申请明细
     * @return 结果
     */
    public int insertJrFactoringDetail(JrFactoringDetail jrFactoringDetail);

    /**
     * 修改保理申请明细
     * 
     * @param jrFactoringDetail 保理申请明细
     * @return 结果
     */
    public int updateJrFactoringDetail(JrFactoringDetail jrFactoringDetail);

    /**
     * 批量删除保理申请明细
     * 
     * @param ids 需要删除的保理申请明细主键集合
     * @return 结果
     */
    public int deleteJrFactoringDetailByIds(Long[] ids);

    /**
     * 删除保理申请明细信息
     * 
     * @param id 保理申请明细主键
     * @return 结果
     */
    public int deleteJrFactoringDetailById(Long id);

}
